/**
 * 
 */
package com.demo2do.boyle.common.entity.advertisement;

import com.demo2do.core.utils.Alias;

/**
 * @author Leo
 *
 */
@Alias("putNumber")
public enum PutNumber {
	TWO("0-2000",0,2000),
	THREE("2000-3000",2000,3000),
	TEN("3000-10000",3000,10000),
	FIFTY("10000-50000",10000,50000),
	OVERFIFTY("50000+",50000,Integer.MAX_VALUE);
	
	private String description;
	
	private Integer min;
	
	private Integer max;

	/**
	 * @param description
	 */
	PutNumber(String description,Integer min,Integer max) {
		this.description = description;
		this.min = min;
		this.max = max;
	}

	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}
	
	
	public String getName() {
        return name();
    }

	public Integer getMax() {
		return max;
	}
	
	public Integer getMin() {
		return min;
	}
	
}
